#pragma once

#include "HandlerV2.h"

#include <QObject>

class HandlerV4 : public HandlerV2
{
    Q_OBJECT
public:
    explicit HandlerV4(QObject *parent = nullptr);

    // 获取精灵列表
    virtual void GetSpriteListFromDataStream(Album &album, QDataStream *streamPtr) override;

    /// <summary>
    ///     从数据中获得图片
    /// </summary>
    virtual QImage GetSpriteImg(const Album &album, const SpriteStruct &sprite) override;
};
